SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '618ed28141283f20dc49e1a9c3ab960b2325c806401b027a4861d8507404690f' 
  AND token = 'p6LnwDswUHDR0AlpmB2Tt2eMKPaMlLG0H60Mlt9bpc8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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