SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '017cec70aa09b66daefd540d7d9195195d6957a7f2504e9d67fd5db57c2ca0fd' 
  AND token = 'nk2Wca+DI7UeTRn9b7kDpdVPSbY4Q9lm3FeaZYZ9HYQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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