SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c0b000dcff14cb2d4bebaf7161b4f2b855fca1f80ac0c5e21535b856ce8c45f1' 
  AND token = 'f+hyHMHnjr8ey9pjy6Yk3VWDaD7Oww2rQFqVbP2fAHk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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