SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6495ab9fcd79542d5a526844d5697e102006259787c54d3bd7971fa00f559c1c' 
  AND token = '1O9bSMks/7Swz3vabSx/LFt7i76hBwomsutCv/hSn3w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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