SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3da488d91707f7be6e95619268f6b9126603b4376bffb874f21f919fe768228b' 
  AND token = 't6fJen5+EVcIkIvBPmFuHAsTw7eGB2FIA4lVHbIjWK4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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