SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '506a2f4fa4603475c8c6bee9c6c01f764aaa2667c0b69fa88bc9e4d395f57234' 
  AND token = '+X8hT8Xc0gFKdsr6zuZ8LtqATsYZulOnf1Zy0j2Vy7o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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