SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bb0b5f25a4462a3673efe187c4d3615a2d97540373eddd426c54dc76b1df22e8' 
  AND token = 'vF5cdUyve030wu8ubCaRfihGnvlv3v6BWyYldHFHPuw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}