SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '581d233472464eda99abeb8201be8f32f2da650f36d57d4237b7a8700de615b4' 
  AND token = 'hLlxdE7RGAjO80qKEofQxH0q+qydz1+qjIoyoygXkU8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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