SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cd84be89fd9035031073a582cafd86e9b2b1818c805a4131c13b851dd722efee' 
  AND token = '8tOPoPBBI4xM625FTeVAnYCxpJ8DYn5w1i0Ueryd8I8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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