SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '12e72c64430a63a069efae64a381244c51ccf1b082af94b2f1fc52028e3dc481' 
  AND token = 'Ev2Tc/2zIZunbuTOnPnS8wRs6Ze8o9ZyFEwmV9o8Nw0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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