SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd1b3a9a5152fe04b2291405169b502d46878d8c31c3a1d540cffc3c78d0b3117' 
  AND token = 'yggbvhw5VA3uBy5bgLzDZT36xSHu2sJ/oo0RLjtbqcI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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