SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b5fa57dc3584b7676805080871383fefbb10e4040c9a9d1ed61177076e121923' 
  AND token = 'c0fbNnhgCOBukbkGzHCpyE3ivGUUjB/hgcEJiYpy9d8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00078

JSON explain

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