SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2ef0a918321463a2d7ae48c01ada4232be1920b6a19b2af1e3f620aa0d7fb540' 
  AND token = 'lQ3OHFXgg/IsTtxiPEK8kNN1zL0RrO+gZ33N01HTCgc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00022

JSON explain

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