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

Query time 0.00047

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}