SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f6fa5e1e3087a2c68e2643208c5692fd9d21684816a05ab8f0522a8c91f2fd29' 
  AND token = 'kd6HC9sUHvFHkJ9YikX4q6in+LhgDvW9R7kfNWhCBi8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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