SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6bee4af3b67fb841d99debfb44e158c0ce95953b6e21e6cbc46b2b904b1422a9' 
  AND token = '5PKBQ7puYvwsmOLua9pMGuNFwbMBJ0k6Mz/kYoYBnQ8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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