SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2b1e2a6791427450d227367d207b61a501709f9aac21fb41056a390ad09eb896' 
  AND token = 'cHJLfH2z/PvuT4tOR61G9Dtl1aJ19lGiXp5oc0oHpGw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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