SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3faab1a168f1c20e808c45b10ea4f948fb511e3d3cfbd6bffc7380c4fa4d4e22' 
  AND token = 'IkD+AYtc+FpzO2/Ie4Qr5ShVTgr78pJpBM1Ak5SAyWE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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