SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5f12394669bb19ee9c1491f9f5534cb070cc7aabb5bd01ead29560e21f60ac4f' 
  AND token = 'WzxCvGfQ6f6k68kBGvD1i6Tfv5XY6tAGZOkMyhommMM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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