SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2f56d711c0cbf9c53d51ba1eb2fdbc7b4b59908e5a788f3085dd0c92be7c8b16' 
  AND token = 'sYwFjmEODpjM9ENRH6FH33uLJSDixRBkhVL6JTPTLBs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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