SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd19e27add64a6f3ff81e45448a14df8159047a42a81d96dbd147949e5981d067' 
  AND token = 'AjfFXkgJ7T7/7d8bMkYLPLY7fhlEdybaL2lFBD9L/f4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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