SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a74fe0f224be4a09950b843487e2c81ea8c7f1972e2d327415596380f3626ef1' 
  AND token = '34epReaVAQRVfzKJgXUMKlMyD3GxCKzV3d5NAH2DQws=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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