SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cd417d182b5c6ed5855fc9303d30e4ef2a217484d564f4797bb9afcfdffe39f9' 
  AND token = 'Z2Sdi8cl1bGOO7Ej0mi7/I1aLIo3Vyyb1SI99vxJVto=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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