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

Query time 0.00021

JSON explain

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