SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b8820f82dbf284125a46a6bf65575773a4faff94ff33e8d297e715c2cc225c47' 
  AND token = 'alaWXVDWFvXf8O7JStqSirOCKzsi/56uIBztYPo4sBo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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