SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0fe465fead4feaaa99fb370594ffffe642a2668357a66bfd10895f1c01ea0560' 
  AND token = 'KRkcpcUB2gDnWzO8nYNmGXM5zFFTRgt23XprpJDEfak=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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