SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4f28bb032aa183d4c509723e7baeb17cdbba6a56c94f6e4c098009085901aea2' 
  AND token = 'h4nfHm3f0ToSL6ftXHKGX2zV60iqAm1OTxEzWwFflfA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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