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

Query time 0.00030

JSON explain

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